package com.pool.socket.DataType;

import javax.xml.bind.annotation.*;
import java.util.*;

@XmlRootElement(name = "virtualgateway", namespace = "http://www.w3school.com.cn")
public class VirtualGateway {

	private List<KeyValue> messageHeader;
	private List<Sensor> sensors;
	private String fileName;

	private int gatewayId;
	private UUID gatewayUUID;

	@XmlElement(name = "Sensor")
	public List<Sensor> getSensors() {
		return sensors;
	}

	public void setSensors(List<Sensor> sensors) {
		this.sensors = sensors;
	}

	@XmlElement(name = "MessageHeader")
	public List<KeyValue> getMessageHeader() {
		return messageHeader;
	}

	public void setMessageHeader(List<KeyValue> messageHeader) {
		this.messageHeader = messageHeader;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	@XmlElement(name = "GatewayUUID")
	public UUID getGatewayUUID() {
		return this.gatewayUUID;
	}

	public void setGatewayUUID(UUID gatewayuuid) {
		this.gatewayUUID = gatewayuuid;
	}

	@XmlElement(name = "GatewayID")
	public int getGatewayID() {
		return this.gatewayId;
	}

	public void setGatewayID(int gatewayid) {
		this.gatewayId = gatewayid;
	}

}